<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html lang="en">

<head>

    <meta charset="utf-8">

    <title>修改订单</title>

    <link rel="stylesheet" type="text/css" href="../../../static/css/register.css">


</head>

<body>

<div class="rg_layout">
    <div class="rg_left">
        <p class="p_reg">修改订单</p>
        <p class="p_en">Add Order</p>
    </div>

    <div class="rg_center">
        <div class="re_form">

            <form action="${pageContext.request.contextPath}/order/updateOrder" method="post">
                <table>
                    <tr>
                        <td class="td_left"><label for="orderId">订单编号</label></td>
                        <td class="td_right"><input type="text" name="orderId" id="orderId" value="${upOrder.orderId}" disabled ></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientName">发件人姓名</label></td>
                        <td class="td_right"><input type="text" name="clientName" id="clientName" value="${client.clientName}" disabled></td>
                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientAddress">发件人地址</label></td>
                        <td class="td_right"><input type="text" name="clientAddress" id="clientAddress" value="${client.clientAddress}" disabled></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="clientTel">发件人电话</label></td>
                        <td class="td_right"><input type="text" name="clientTel" id="clientTel" value="${client.clientTel}" disabled></td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="consigneeName">收货人姓名</label></td>
                        <td class="td_right"><input type="text" name="consigneeName" id="consigneeName" value="${upOrder.consigneeName}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="consigneeTel">收货人电话</label></td>
                        <td class="td_right"><input type="text" name="consigneeTel" id="consigneeTel" value="${upOrder.consigneeTel}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="destination">收货人地址</label></td>
                        <td class="td_right"><input type="text" name="destination" id="destination" value="${upOrder.destination}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="goodsName">货物名称</label></td>
                        <td class="td_right"><input type="text" name="goodsName" id="goodsName" value="${upOrder.goodsName}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="goodNums">货物数量</label></td>
                        <td class="td_right"><input type="text" name="goodNums" id="goodNums" value="${upOrder.goodsNums}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left">运输方式</td>
                        <td class="td_right">
                            <input type="radio" name="trideType" value="海运">海运
                            <input type="radio" name="trideType" value="空运">空运
                            <input type="radio" name="trideType" value="陆运">陆运
                        </td>

                    </tr>
                    <tr>
                        <td class="td_left">是否发送</td>
                        <td class="td_right">
                            <input type="radio" name="orderIssend" value="true">是
                            <input type="radio" name="orderIssend" value="false">否
                        </td>

                    </tr>
                    <tr>
                        <td class="td_left">是否到达</td>
                        <td class="td_right">
                            <input type="radio" name="orderReceive" value="true">是
                            <input type="radio" name="orderReceive" value="false">否
                        </td>

                    </tr>

                    <tr>
                        <td class="td_left"><label for="preStartTime">预计发送时间</label></td>
                        <td class="td_right"><input type="date" name="preStartTime" id="preStartTime" value="${upOrder.preStartTime}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="preArriveTime">预计到达时间</label></td>
                        <td class="td_right"><input type="date" name="preArriveTime" id="preArriveTime" value="${upOrder.preArriveTime}" required></td>

                    </tr>
                    <tr>
                        <td class="td_left"><label for="remark">备注：</label></td>
                        <td class="td_right"><input type="text" name="remark" id="remark" value="${upOrder.remark}" required></td>

                    </tr>



                    <tr>

                        <td colspan="2" align="center"><input type="submit" id="btn_sub" value="提交"></td>

                    </tr>


                </table>

            </form>

        </div>

    </div>
</div>


</body>

</html>

